home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 023a / icsp.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-09-12  |  3KB  |  90 lines

  1. ECHO OFF
  2. CLS
  3. IF %1==F GOTO FLOPINS
  4. IF %1==H GOTO HARDINS1
  5. CLS
  6. GO
  7. :FLOPINS
  8. ECHO OFF
  9. CLS
  10. ECHO              Instructions for installing the program:
  11. echo  
  12. ECHO         Create three ready-to-run disks (execute from drive B:)
  13. ECHO  Label three disks as follows:
  14. ECHO            Disk 1:  SALES-A   {--- This is the 'HELP' disk
  15. ECHO            Disk 2:  SALES-B   {--- This is the 'PROGRAM' disk.
  16. ECHO                                    Contains SERVICE.EXE & SERVICE.OVL
  17. ECHO            Disk 3:  SALESDOC  {--- This is the Tutorial
  18. echo  
  19. ECHO  Disk  1  should be formatted as a 'bootable' disk, with this command:
  20. ECHO                                   FORMAT A:/S
  21. echo  
  22. ECHO  To verify if your disk is 'bootable', check for the existence of a file
  23. ECHO  named  'COMMAND.COM'.   The format instruction above should have placed
  24. ECHO  this file onto your 'bootable disk'.  The other 2 disks will be formatted
  25. ECHO  with the standard format command:  FORMAT A:
  26. ECHO  If you want to stop this procedure now to format the 3 disks, enter
  27. ECHO  CONTROL-C.  Enter any other key to continue.
  28. PAUSE
  29. CLS
  30. IF %2==1 GOTO FLOPINS1
  31. IF %2==2 GOTO FLOPINS2
  32. CLS
  33. ECHO  This floppy installation requires that you enter either a '1' or a '2',
  34. ECHO  following your 'GO F' instruction.
  35. GOTO END
  36. :FLOPINS2
  37. ECHO  Enter disk 1, SALES-A, into drive A now.
  38. PAUSE
  39. A:
  40. B:PKUNZIP -X B:SALE-B41.ZIP *.DB?
  41. B:PKUNZIP -X B:SALE-B41.ZIP *.COM
  42. B:PKUNZIP -X B:SALE-A41.ZIP AUTOFLOP.BAT
  43. B:PKUNZIP -X B:SALE-A41.ZIP INSTALL.DOC
  44. B:PKUNZIP -X B:SALE-A41.ZIP DEMO.DOC
  45. B:PKUNZIP -X B:SALE-A41.ZIP REMOTE1.DOC
  46. B:PKUNZIP -X B:SALE-A41.ZIP FOREIGN.DOC
  47. B:PKUNZIP -X B:SALE-A41.ZIP NATIVE.DOC
  48. COPY AUTOFLOP.BAT AUTOEXEC.BAT
  49. CLS
  50. ECHO  Enter disk 2, SALES-B, into drive A now.
  51. PAUSE
  52. A:
  53. B:PKUNZIP -X B:SALE-A41.ZIP *.LBL
  54. B:PKUNZIP -X B:SALE-A41.ZIP PROSPECT.EXE
  55. B:PKUNZIP -X B:SALE-A41.ZIP GO-FL.BAT
  56. COPY GO-FL.BAT GO.BAT
  57. DEL GO-FL.BAT
  58. B:
  59. CLS
  60. ECHO  Insert 'Disk 2' with GO2 into drive B now.
  61. echo  
  62. ECHO  Enter:              GO2
  63. GOTO END
  64. :FLOPINS1
  65. ECHO  Beginning with version 3.0 of this program, the executable files have
  66. ECHO  become so large that the low density option of 360KB is no longer supported.
  67. GOTO END
  68. :HARDINS1
  69. CLS
  70. echo  
  71. ECHO  This procedure will install all files onto your hard disk, drive %2
  72. ECHO  and will create a subdirectory, \SERVICE.
  73. echo  
  74. %2:
  75. CD \
  76. MKDIR SERVICE
  77. CD SERVICE
  78. COPY A:ECOH.COM >TMP
  79. COPY A:YESNO.COM >TMP
  80. COPY A:MAINTA40.EXE >TMP
  81. MAINTA40
  82. DEL MAINTA40.EXE 
  83. COPY A:MAINTB40.EXE >TMP
  84. MAINTB40
  85. DEL MAINTB40.EXE 
  86. CLS
  87. A:
  88. CLS
  89. INSTALL2 H %2
  90.